package com.paul.ddyw.mapper;

import com.paul.ddyw.model.Order;
import com.paul.sys.tools.CommPageBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by yangjianbo on 2016/2/16.
 */
public interface OrderMapper {

    int insert(Order order);

    int update(Order order);

    Order searchByPriKey(String uuid);

    List<Order> listByPage(@Param("param") Map<String, String> param, @Param("page") CommPageBean pageBean);

}
